import request from '@/utils/myrequest'
import { getToken } from '@/utils/auth'
export function getList(kvs) {
  return request({
    url: '/tdm/UploadPat/GetList',
    method: 'get',
    kvs
  })
}

export function doDelete(kvs) {
  return request({
    url: '/tdm/UploadPat/Delete',
    method: 'POST',
    kvs
  })
}

export function doUploadPat(kvs) {
  return request({
    url: '/tdm/Upload/UploadPat',
    method: 'POST',
    headers: { 'Content-Type': 'multipart/form-data', 'Token': getToken() },
    kvs
  })
}
